/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package listener;

import java.sql.SQLException;
import server.ServeOneThread;

/**
 *
 * @author User
 */
public interface MyListener {
  
  boolean autorize(MyEvent e);
  
  String setList(MyEvent e);
  
  String getPersone(MyEvent evn);
  
  boolean sendPhoneT(MyEvent evn);
  
  boolean sendAdrT(MyEvent evn);
  
  boolean sendCountry(MyEvent evn);
  
  boolean sendCity(MyEvent evn);
  
  boolean sendStreet(MyEvent evn);
  
  boolean savePersone(MyEvent evn);
  
  boolean saveTypePhone(MyEvent evn);
  
  boolean saveTypeAdress(MyEvent evn);
  
  boolean saveCountry(MyEvent evn);
  
  boolean saveCity(MyEvent evn);
  
  boolean saveStreet(MyEvent evn);
  
  boolean delPersone(MyEvent evn);

  boolean delPhone(MyEvent myEvent);

  boolean delAdres(MyEvent myEvent);

  boolean getFoto(MyEvent myEvent);
}
